import request from '@/config/request.js';

// 查询商品销售流水列表
export const listStorageSalesInfo = (params) => request.get('/goods/storageSalesInfo/list', params)

export const listStorageSalesInfoAll = (params) => request.get('/goods/storageSalesInfo/listAll', params)

// 查询商品销售流水详细
export const getStorageSalesInfo = (id) => request.get('/goods/storageSalesInfo/' + id)

// 新增商品销售流水
export const addStorageSalesInfo = (params) => request.post('/goods/storageSalesInfo', params)

// 修改商品销售流水
export const updateStorageSalesInfo = (params) => request.put('/goods/storageSalesInfo', params)

// 删除商品销售流水
export const delStorageSalesInfo = (id) => request.delete('/goods/storageSalesInfo/' + id)